﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nvigorate.Generation;
using Nvigorate.Extensions;

namespace Nvigorate.Test.Generation
{
    /// <summary>
    /// Summary description for IntrospectorTests
    /// </summary>
    [TestClass]
    public class IntrospectorTests
    {
        [TestMethod]
        public void TestMethod1()
        {
            var classes =
                Introspector.GetClassMetadataForNamespace(@"S:\codeplex\Nvigorate\Development\Nvigorate.Test\bin\Debug\Nvigorate.TestObjects.dll", "Nvigorate.TestObjects");

            Assert.AreEqual(classes.Count(), 17);
        }
    }
}
